Adopt Uno.Sdk tooling (Uno 6.x) for the WinUI 3 gallery#862
Draft
MartinZikmund wants to merge 2 commits into
Draft
Adopt Uno.Sdk tooling (Uno 6.x) for the WinUI 3 gallery#862MartinZikmund wants to merge 2 commits into
MartinZikmund wants to merge 2 commits into
Conversation
Bump the tooling submodule to the Uno.Sdk-based version and resolve the warnings (treated as errors) that the Uno 6.x upgrade surfaces when the Uno.Sdk gallery head compiles the components for net9.0: - CS0618: FocusManager.GetFocusedElement() is obsolete on WinUI 3/Uno; suppress the no-arg fallback used where XamlRoot is unavailable (UWP). - IL2087: trim-analysis on generic DependencyProperty.Register in the Animations base types; suppress (the type is only used as DP metadata). The Uno.Sdk head (net9.0-desktop and net9.0-browserwasm) now builds end-to-end against the toolkit components. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Mirror the tooling CI's Uno.Sdk handling: - Windows build matrix: add an `unosdk` entry (WinUI 3), exclude winui3+wasm (now covered by the Uno.Sdk head). Install workloads directly and build the Uno.Sdk head csproj with dotnet. - Replace the wasm-linux job with uno-linux: build the Uno.Sdk head for browserwasm and desktop instead of the legacy Uno.UI Wasm head. WinUI 2 (UWP) keeps the legacy Uno.UI 5.x wasm head. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Transitions the toolkit to the Uno.Sdk-based tooling, building the WinUI 3 sample gallery through the unified Uno.Sdk head (desktop + browserwasm + android) while keeping Uno.UI 5.x for UWP / WinUI 2.
Depends on the tooling submodule PR: CommunityToolkit/Tooling-Windows-Submodule#305 (which in turn depends on #304). The submodule pointer here references that branch and will move to the merged commit once #305 lands.
Changes
toolingsubmodule to the Uno.Sdk-based version.net9.0:FocusManager.GetFocusedElement()is obsolete on WinUI 3/Uno — suppress the no-arg fallback used whereXamlRootis unavailable (UWP).DependencyProperty.Registerin the Animations base types (the type is only used as DP metadata).unosdkentry to the Windowsbuildmatrix (excludingwinui3 + wasm) and replace thewasm-linuxjob withuno-linux(browserwasm + desktop). WinUI 2 (UWP) keeps the legacy Uno.UI 5.x wasm head.Both Uno.Sdk heads (
net9.0-desktopandnet9.0-browserwasm) build end-to-end against the toolkit components.🤖 Generated with Claude Code